package com.jell.purchase.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品信息
 * crm_goods_info
 */
public class GoodsInfoDo implements Serializable {
    /**
     * ID
     * crm_goods_info.id
     */
    private Integer id;

    /**
     * 中文名
     * crm_goods_info.ch_name
     */
    private String chName;

    /**
     * 英文名
     * crm_goods_info.en_name
     */
    private String enName;

    /**
     * 所有者
     * crm_goods_info.ent_id
     */
    private Integer entId;

    /**
     * 商品编码
     * crm_goods_info.code
     */
    private String code;

    /**
     * 类别编码
     * crm_goods_info.category_code
     */
    private String categoryCode;

    /**
     * 储存方式
     * crm_goods_info.storage_method
     */
    private String storageMethod;

    /**
     * 保质期
     * crm_goods_info.shelf_lift
     */
    private String shelfLift;

    /**
     * 规格
     * crm_goods_info.spec
     */
    private String spec;

    /**
     * 生产厂家
     * crm_goods_info.manufacturer
     */
    private String manufacturer;

    /**
     * 品牌
     * crm_goods_info.brand
     */
    private String brand;

    /**
     * 产品标准号
     * crm_goods_info.product_stand_no
     */
    private String productStandNo;

    /**
     * 是否进口
     * crm_goods_info.has_import
     */
    private String hasImport;

    /**
     * 是否特产
     * crm_goods_info.has_special
     */
    private String hasSpecial;

    /**
     * 原产地
     * crm_goods_info.origin_place
     */
    private String originPlace;

    /**
     * 生产许可证编号
     * crm_goods_info.product_license_no
     */
    private String productLicenseNo;

    /**
     * 配料
     * crm_goods_info.ingredient
     */
    private String ingredient;

    /**
     * 实测毛重
     * crm_goods_info.fact_gross_weight
     */
    private Double factGrossWeight;

    /**
     * 零售价
     * crm_goods_info.retail_price
     */
    private Double retailPrice;

    /**
     * 简单描述
     * crm_goods_info.summary
     */
    private String summary;

    /**
     * 创建时间
     * crm_goods_info.create_dt
     */
    private Date createDt;

    /**
     * 创建人
     * crm_goods_info.create_by
     */
    private Integer createBy;

    /**
     * 最后更新时间
     * crm_goods_info.last_update_dt
     */
    private Date lastUpdateDt;

    /**
     * 最后更新人
     * crm_goods_info.last_update_by
     */
    private Integer lastUpdateBy;

    /**
     * 状态
     * crm_goods_info.sts
     */
    private String sts;

    /**
     * 产品条形码
     * crm_goods_info.bar_code
     */
    private String barCode;

    /**
     * 待提交(U)：  \r\n       已提交(C)；     审核通过(P)：    审核通过，已发布商品可以下单\r\n            审核不通过(R)：        审核不通过\r\n            \r\n            
     * crm_goods_info.order_audit_sts
     */
    private String orderAuditSts;

    /**
     * 下单退回原因
     * crm_goods_info.order_reject_reason
     */
    private String orderRejectReason;

    /**
     * 备注
     * crm_goods_info.remark
     */
    private String remark;

    /**
     * crm_goods_info
     */
    private static final long serialVersionUID = 1L;

    /**
     * crm_goods_info.id
     * @return the value of crm_goods_info.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * crm_goods_info.id
     * @param id the value for crm_goods_info.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * crm_goods_info.ch_name
     * @return the value of crm_goods_info.ch_name
     */
    public String getChName() {
        return chName;
    }

    /**
     * crm_goods_info.ch_name
     * @param chName the value for crm_goods_info.ch_name
     */
    public void setChName(String chName) {
        this.chName = chName == null ? null : chName.trim();
    }

    /**
     * crm_goods_info.en_name
     * @return the value of crm_goods_info.en_name
     */
    public String getEnName() {
        return enName;
    }

    /**
     * crm_goods_info.en_name
     * @param enName the value for crm_goods_info.en_name
     */
    public void setEnName(String enName) {
        this.enName = enName == null ? null : enName.trim();
    }

    /**
     * crm_goods_info.ent_id
     * @return the value of crm_goods_info.ent_id
     */
    public Integer getEntId() {
        return entId;
    }

    /**
     * crm_goods_info.ent_id
     * @param entId the value for crm_goods_info.ent_id
     */
    public void setEntId(Integer entId) {
        this.entId = entId;
    }

    /**
     * crm_goods_info.code
     * @return the value of crm_goods_info.code
     */
    public String getCode() {
        return code;
    }

    /**
     * crm_goods_info.code
     * @param code the value for crm_goods_info.code
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /**
     * crm_goods_info.category_code
     * @return the value of crm_goods_info.category_code
     */
    public String getCategoryCode() {
        return categoryCode;
    }

    /**
     * crm_goods_info.category_code
     * @param categoryCode the value for crm_goods_info.category_code
     */
    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode == null ? null : categoryCode.trim();
    }

    /**
     * crm_goods_info.storage_method
     * @return the value of crm_goods_info.storage_method
     */
    public String getStorageMethod() {
        return storageMethod;
    }

    /**
     * crm_goods_info.storage_method
     * @param storageMethod the value for crm_goods_info.storage_method
     */
    public void setStorageMethod(String storageMethod) {
        this.storageMethod = storageMethod == null ? null : storageMethod.trim();
    }

    /**
     * crm_goods_info.shelf_lift
     * @return the value of crm_goods_info.shelf_lift
     */
    public String getShelfLift() {
        return shelfLift;
    }

    /**
     * crm_goods_info.shelf_lift
     * @param shelfLift the value for crm_goods_info.shelf_lift
     */
    public void setShelfLift(String shelfLift) {
        this.shelfLift = shelfLift == null ? null : shelfLift.trim();
    }

    /**
     * crm_goods_info.spec
     * @return the value of crm_goods_info.spec
     */
    public String getSpec() {
        return spec;
    }

    /**
     * crm_goods_info.spec
     * @param spec the value for crm_goods_info.spec
     */
    public void setSpec(String spec) {
        this.spec = spec == null ? null : spec.trim();
    }

    /**
     * crm_goods_info.manufacturer
     * @return the value of crm_goods_info.manufacturer
     */
    public String getManufacturer() {
        return manufacturer;
    }

    /**
     * crm_goods_info.manufacturer
     * @param manufacturer the value for crm_goods_info.manufacturer
     */
    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer == null ? null : manufacturer.trim();
    }

    /**
     * crm_goods_info.brand
     * @return the value of crm_goods_info.brand
     */
    public String getBrand() {
        return brand;
    }

    /**
     * crm_goods_info.brand
     * @param brand the value for crm_goods_info.brand
     */
    public void setBrand(String brand) {
        this.brand = brand == null ? null : brand.trim();
    }

    /**
     * crm_goods_info.product_stand_no
     * @return the value of crm_goods_info.product_stand_no
     */
    public String getProductStandNo() {
        return productStandNo;
    }

    /**
     * crm_goods_info.product_stand_no
     * @param productStandNo the value for crm_goods_info.product_stand_no
     */
    public void setProductStandNo(String productStandNo) {
        this.productStandNo = productStandNo == null ? null : productStandNo.trim();
    }

    /**
     * crm_goods_info.has_import
     * @return the value of crm_goods_info.has_import
     */
    public String getHasImport() {
        return hasImport;
    }

    /**
     * crm_goods_info.has_import
     * @param hasImport the value for crm_goods_info.has_import
     */
    public void setHasImport(String hasImport) {
        this.hasImport = hasImport == null ? null : hasImport.trim();
    }

    /**
     * crm_goods_info.has_special
     * @return the value of crm_goods_info.has_special
     */
    public String getHasSpecial() {
        return hasSpecial;
    }

    /**
     * crm_goods_info.has_special
     * @param hasSpecial the value for crm_goods_info.has_special
     */
    public void setHasSpecial(String hasSpecial) {
        this.hasSpecial = hasSpecial == null ? null : hasSpecial.trim();
    }

    /**
     * crm_goods_info.origin_place
     * @return the value of crm_goods_info.origin_place
     */
    public String getOriginPlace() {
        return originPlace;
    }

    /**
     * crm_goods_info.origin_place
     * @param originPlace the value for crm_goods_info.origin_place
     */
    public void setOriginPlace(String originPlace) {
        this.originPlace = originPlace == null ? null : originPlace.trim();
    }

    /**
     * crm_goods_info.product_license_no
     * @return the value of crm_goods_info.product_license_no
     */
    public String getProductLicenseNo() {
        return productLicenseNo;
    }

    /**
     * crm_goods_info.product_license_no
     * @param productLicenseNo the value for crm_goods_info.product_license_no
     */
    public void setProductLicenseNo(String productLicenseNo) {
        this.productLicenseNo = productLicenseNo == null ? null : productLicenseNo.trim();
    }

    /**
     * crm_goods_info.ingredient
     * @return the value of crm_goods_info.ingredient
     */
    public String getIngredient() {
        return ingredient;
    }

    /**
     * crm_goods_info.ingredient
     * @param ingredient the value for crm_goods_info.ingredient
     */
    public void setIngredient(String ingredient) {
        this.ingredient = ingredient == null ? null : ingredient.trim();
    }

    /**
     * crm_goods_info.fact_gross_weight
     * @return the value of crm_goods_info.fact_gross_weight
     */
    public Double getFactGrossWeight() {
        return factGrossWeight;
    }

    /**
     * crm_goods_info.fact_gross_weight
     * @param factGrossWeight the value for crm_goods_info.fact_gross_weight
     */
    public void setFactGrossWeight(Double factGrossWeight) {
        this.factGrossWeight = factGrossWeight;
    }

    /**
     * crm_goods_info.retail_price
     * @return the value of crm_goods_info.retail_price
     */
    public Double getRetailPrice() {
        return retailPrice;
    }

    /**
     * crm_goods_info.retail_price
     * @param retailPrice the value for crm_goods_info.retail_price
     */
    public void setRetailPrice(Double retailPrice) {
        this.retailPrice = retailPrice;
    }

    /**
     * crm_goods_info.summary
     * @return the value of crm_goods_info.summary
     */
    public String getSummary() {
        return summary;
    }

    /**
     * crm_goods_info.summary
     * @param summary the value for crm_goods_info.summary
     */
    public void setSummary(String summary) {
        this.summary = summary == null ? null : summary.trim();
    }

    /**
     * crm_goods_info.create_dt
     * @return the value of crm_goods_info.create_dt
     */
    public Date getCreateDt() {
        return createDt;
    }

    /**
     * crm_goods_info.create_dt
     * @param createDt the value for crm_goods_info.create_dt
     */
    public void setCreateDt(Date createDt) {
        this.createDt = createDt;
    }

    /**
     * crm_goods_info.create_by
     * @return the value of crm_goods_info.create_by
     */
    public Integer getCreateBy() {
        return createBy;
    }

    /**
     * crm_goods_info.create_by
     * @param createBy the value for crm_goods_info.create_by
     */
    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    /**
     * crm_goods_info.last_update_dt
     * @return the value of crm_goods_info.last_update_dt
     */
    public Date getLastUpdateDt() {
        return lastUpdateDt;
    }

    /**
     * crm_goods_info.last_update_dt
     * @param lastUpdateDt the value for crm_goods_info.last_update_dt
     */
    public void setLastUpdateDt(Date lastUpdateDt) {
        this.lastUpdateDt = lastUpdateDt;
    }

    /**
     * crm_goods_info.last_update_by
     * @return the value of crm_goods_info.last_update_by
     */
    public Integer getLastUpdateBy() {
        return lastUpdateBy;
    }

    /**
     * crm_goods_info.last_update_by
     * @param lastUpdateBy the value for crm_goods_info.last_update_by
     */
    public void setLastUpdateBy(Integer lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    /**
     * crm_goods_info.sts
     * @return the value of crm_goods_info.sts
     */
    public String getSts() {
        return sts;
    }

    /**
     * crm_goods_info.sts
     * @param sts the value for crm_goods_info.sts
     */
    public void setSts(String sts) {
        this.sts = sts == null ? null : sts.trim();
    }

    /**
     * crm_goods_info.bar_code
     * @return the value of crm_goods_info.bar_code
     */
    public String getBarCode() {
        return barCode;
    }

    /**
     * crm_goods_info.bar_code
     * @param barCode the value for crm_goods_info.bar_code
     */
    public void setBarCode(String barCode) {
        this.barCode = barCode == null ? null : barCode.trim();
    }

    /**
     * crm_goods_info.order_audit_sts
     * @return the value of crm_goods_info.order_audit_sts
     */
    public String getOrderAuditSts() {
        return orderAuditSts;
    }

    /**
     * crm_goods_info.order_audit_sts
     * @param orderAuditSts the value for crm_goods_info.order_audit_sts
     */
    public void setOrderAuditSts(String orderAuditSts) {
        this.orderAuditSts = orderAuditSts == null ? null : orderAuditSts.trim();
    }

    /**
     * crm_goods_info.order_reject_reason
     * @return the value of crm_goods_info.order_reject_reason
     */
    public String getOrderRejectReason() {
        return orderRejectReason;
    }

    /**
     * crm_goods_info.order_reject_reason
     * @param orderRejectReason the value for crm_goods_info.order_reject_reason
     */
    public void setOrderRejectReason(String orderRejectReason) {
        this.orderRejectReason = orderRejectReason == null ? null : orderRejectReason.trim();
    }

    /**
     * crm_goods_info.remark
     * @return the value of crm_goods_info.remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * crm_goods_info.remark
     * @param remark the value for crm_goods_info.remark
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * crm_goods_info
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        GoodsInfoDo other = (GoodsInfoDo) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getChName() == null ? other.getChName() == null : this.getChName().equals(other.getChName()))
            && (this.getEnName() == null ? other.getEnName() == null : this.getEnName().equals(other.getEnName()))
            && (this.getEntId() == null ? other.getEntId() == null : this.getEntId().equals(other.getEntId()))
            && (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
            && (this.getCategoryCode() == null ? other.getCategoryCode() == null : this.getCategoryCode().equals(other.getCategoryCode()))
            && (this.getStorageMethod() == null ? other.getStorageMethod() == null : this.getStorageMethod().equals(other.getStorageMethod()))
            && (this.getShelfLift() == null ? other.getShelfLift() == null : this.getShelfLift().equals(other.getShelfLift()))
            && (this.getSpec() == null ? other.getSpec() == null : this.getSpec().equals(other.getSpec()))
            && (this.getManufacturer() == null ? other.getManufacturer() == null : this.getManufacturer().equals(other.getManufacturer()))
            && (this.getBrand() == null ? other.getBrand() == null : this.getBrand().equals(other.getBrand()))
            && (this.getProductStandNo() == null ? other.getProductStandNo() == null : this.getProductStandNo().equals(other.getProductStandNo()))
            && (this.getHasImport() == null ? other.getHasImport() == null : this.getHasImport().equals(other.getHasImport()))
            && (this.getHasSpecial() == null ? other.getHasSpecial() == null : this.getHasSpecial().equals(other.getHasSpecial()))
            && (this.getOriginPlace() == null ? other.getOriginPlace() == null : this.getOriginPlace().equals(other.getOriginPlace()))
            && (this.getProductLicenseNo() == null ? other.getProductLicenseNo() == null : this.getProductLicenseNo().equals(other.getProductLicenseNo()))
            && (this.getIngredient() == null ? other.getIngredient() == null : this.getIngredient().equals(other.getIngredient()))
            && (this.getFactGrossWeight() == null ? other.getFactGrossWeight() == null : this.getFactGrossWeight().equals(other.getFactGrossWeight()))
            && (this.getRetailPrice() == null ? other.getRetailPrice() == null : this.getRetailPrice().equals(other.getRetailPrice()))
            && (this.getSummary() == null ? other.getSummary() == null : this.getSummary().equals(other.getSummary()))
            && (this.getCreateDt() == null ? other.getCreateDt() == null : this.getCreateDt().equals(other.getCreateDt()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getLastUpdateDt() == null ? other.getLastUpdateDt() == null : this.getLastUpdateDt().equals(other.getLastUpdateDt()))
            && (this.getLastUpdateBy() == null ? other.getLastUpdateBy() == null : this.getLastUpdateBy().equals(other.getLastUpdateBy()))
            && (this.getSts() == null ? other.getSts() == null : this.getSts().equals(other.getSts()))
            && (this.getBarCode() == null ? other.getBarCode() == null : this.getBarCode().equals(other.getBarCode()))
            && (this.getOrderAuditSts() == null ? other.getOrderAuditSts() == null : this.getOrderAuditSts().equals(other.getOrderAuditSts()))
            && (this.getOrderRejectReason() == null ? other.getOrderRejectReason() == null : this.getOrderRejectReason().equals(other.getOrderRejectReason()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
    }

    /**
     * crm_goods_info
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getChName() == null) ? 0 : getChName().hashCode());
        result = prime * result + ((getEnName() == null) ? 0 : getEnName().hashCode());
        result = prime * result + ((getEntId() == null) ? 0 : getEntId().hashCode());
        result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
        result = prime * result + ((getCategoryCode() == null) ? 0 : getCategoryCode().hashCode());
        result = prime * result + ((getStorageMethod() == null) ? 0 : getStorageMethod().hashCode());
        result = prime * result + ((getShelfLift() == null) ? 0 : getShelfLift().hashCode());
        result = prime * result + ((getSpec() == null) ? 0 : getSpec().hashCode());
        result = prime * result + ((getManufacturer() == null) ? 0 : getManufacturer().hashCode());
        result = prime * result + ((getBrand() == null) ? 0 : getBrand().hashCode());
        result = prime * result + ((getProductStandNo() == null) ? 0 : getProductStandNo().hashCode());
        result = prime * result + ((getHasImport() == null) ? 0 : getHasImport().hashCode());
        result = prime * result + ((getHasSpecial() == null) ? 0 : getHasSpecial().hashCode());
        result = prime * result + ((getOriginPlace() == null) ? 0 : getOriginPlace().hashCode());
        result = prime * result + ((getProductLicenseNo() == null) ? 0 : getProductLicenseNo().hashCode());
        result = prime * result + ((getIngredient() == null) ? 0 : getIngredient().hashCode());
        result = prime * result + ((getFactGrossWeight() == null) ? 0 : getFactGrossWeight().hashCode());
        result = prime * result + ((getRetailPrice() == null) ? 0 : getRetailPrice().hashCode());
        result = prime * result + ((getSummary() == null) ? 0 : getSummary().hashCode());
        result = prime * result + ((getCreateDt() == null) ? 0 : getCreateDt().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getLastUpdateDt() == null) ? 0 : getLastUpdateDt().hashCode());
        result = prime * result + ((getLastUpdateBy() == null) ? 0 : getLastUpdateBy().hashCode());
        result = prime * result + ((getSts() == null) ? 0 : getSts().hashCode());
        result = prime * result + ((getBarCode() == null) ? 0 : getBarCode().hashCode());
        result = prime * result + ((getOrderAuditSts() == null) ? 0 : getOrderAuditSts().hashCode());
        result = prime * result + ((getOrderRejectReason() == null) ? 0 : getOrderRejectReason().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        return result;
    }
}